import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'


/**
 * 描述
 */
@EntityModel('finance')
export class financeEntity extends LoeeEntity {

  @Column({ comment: '学生信息' })
  student: number;

  @Column({ comment: '金额（元）' })
  money: number;

  @Column({ comment: '入账日期' })
  into_date: Date;

  @Column({ comment: '常规课数量' })
  common_num: number;

  @Column({ comment: '特殊课数量' })
  special_num: number;

  @Column({ comment: '优惠情况',nullable:true })
  discount: string;

  @Column({ comment: '备注',nullable:true,length: 1000  })
  note: string;
}
